package com.xbx.admin.entity.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户展示层对象
 *
 * @author 89005691
 * @create 2018-08-31 16:10
 */
@Data
public class RoleVo {

    @ApiModelProperty(value = "角色ID", example = "1")
    private Long roleId;

    @ApiModelProperty(value = "角色名称", example = "系统管理员")
    private String roleName;

    @ApiModelProperty(value = "创建时间", example = "2018-8-31 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTm;

    @ApiModelProperty(value = "角色备注", example = "总部平台运营")
    private String roleDesc;

    @ApiModelProperty(value = "角色状态", example = "1（启用），0（禁用）")
    private Integer status;
}
